import msgpack

import os

with open('tmp','rb') as f :
    data = f.read()
    print(data)
    deserialized_data = msgpack.unpackb(data)
    print(deserialized_data)
